﻿using System;
using Microsoft.EntityFrameworkCore;

namespace Music.API.Data
{

    /// <summary>
    /// 版权所有: Copyright © 2022 Avenger. 保留所有权利。
    /// 内容摘要: MusicVue3ApiContext 数据库上下文类,EF Core 
    /// 更新日期：2022年10月16日
    /// 更新日期：2022年10月16日
    /// 版    本：V1.0.1 
    /// 作    者：Avenger
    /// </summary>
    public class MusicApiContext : DbContext
    {
        /// <summary>
        /// 数据库上下文
        /// </summary>
        public MusicApiContext(DbContextOptions<MusicApiContext> options): base(options)
        {
           //有新增数据表时，必须覆盖此类
        }
        
        
        /// <summary>
        /// 广告
        /// </summary>
        public DbSet<Music.Models.Ads> music_ads { get; set; }
        
        /// <summary>
        /// 位置
        /// </summary>
        public DbSet<Music.Models.AdsPosition> music_ads_position { get; set; }
        
        /// <summary>
        /// 类型
        /// </summary>
        public DbSet<Music.Models.AppTypes> music_app_types { get; set; }
        
        /// <summary>
        /// 区域
        /// </summary>
        public DbSet<Music.Models.Area> music_area { get; set; }
        
        /// <summary>
        /// 附件
        /// </summary>
        public DbSet<Music.Models.Attachments> music_attachments { get; set; }
        
        /// <summary>
        /// 普通观众
        /// </summary>
        public DbSet<Music.Models.Audiences> music_audiences { get; set; }
        
        /// <summary>
        /// 观众类型
        /// </summary>
        public DbSet<Music.Models.AudienceTypes> music_audience_types { get; set; }
        
        /// <summary>
        /// 采购商
        /// </summary>
        public DbSet<Music.Models.Buyers> music_buyers { get; set; }
        
        /// <summary>
        /// 采购商类型
        /// </summary>
        public DbSet<Music.Models.BuyerTypes> music_buyer_types { get; set; }
        
        /// <summary>
        /// 证件类型
        /// </summary>
        public DbSet<Music.Models.CertificateTypes> music_certificate_types { get; set; }
        
        /// <summary>
        /// 验证码
        /// </summary>
        public DbSet<Music.Models.Codes> music_codes { get; set; }
        
        /// <summary>
        /// 公司类型
        /// </summary>
        public DbSet<Music.Models.CompanyTypes> music_company_types { get; set; }
        
        /// <summary>
        /// 国家
        /// </summary>
        public DbSet<Music.Models.Country> music_country { get; set; }
        
        /// <summary>
        /// 
        /// </summary>
        public DbSet<Music.Models.CountryNew> music_country_new { get; set; }
        
        /// <summary>
        /// 订阅邮箱
        /// </summary>
        public DbSet<Music.Models.Emails> music_emails { get; set; }
        
        /// <summary>
        /// 
        /// </summary>
        public DbSet<Music.Models.EmailLogs> music_email_logs { get; set; }
        
        /// <summary>
        /// 防疫
        /// </summary>
        public DbSet<Music.Models.Epidemics> music_epidemics { get; set; }
        
        /// <summary>
        /// 活动/会议
        /// </summary>
        public DbSet<Music.Models.Events> music_events { get; set; }
        
        /// <summary>
        /// 参展商
        /// </summary>
        public DbSet<Music.Models.Exhibitors> music_exhibitors { get; set; }
        
        /// <summary>
        /// 审核状态
        /// </summary>
        public DbSet<Music.Models.ExhibitorStatus> music_exhibitor_status { get; set; }
        
        /// <summary>
        /// 参展商类别
        /// </summary>
        public DbSet<Music.Models.ExhibitorTypes> music_exhibitor_types { get; set; }
        
        /// <summary>
        /// 参展商
        /// </summary>
        public DbSet<Music.Models.ExhibitorVerify> music_exhibitor_verify { get; set; }
        
        /// <summary>
        /// 意见反馈
        /// </summary>
        public DbSet<Music.Models.Feedbacks> music_feedbacks { get; set; }
        
        /// <summary>
        /// 性别
        /// </summary>
        public DbSet<Music.Models.Genders> music_genders { get; set; }
        
        /// <summary>
        /// 分组审批
        /// </summary>
        public DbSet<Music.Models.Groups> music_groups { get; set; }
        
        /// <summary>
        /// 分组用户
        /// </summary>
        public DbSet<Music.Models.GroupUsers> music_group_users { get; set; }
        
        /// <summary>
        /// 嘉宾
        /// </summary>
        public DbSet<Music.Models.Guests> music_guests { get; set; }
        
        /// <summary>
        /// 嘉宾
        /// </summary>
        public DbSet<Music.Models.GuestsOld> music_guests_old { get; set; }
        
        /// <summary>
        /// 领导级别
        /// </summary>
        public DbSet<Music.Models.GuestLeaders> music_guest_leaders { get; set; }
        
        /// <summary>
        /// 级别
        /// </summary>
        public DbSet<Music.Models.GuestLevel> music_guest_level { get; set; }
        
        /// <summary>
        /// 人员身份
        /// </summary>
        public DbSet<Music.Models.GuestStatus> music_guest_status { get; set; }
        
        /// <summary>
        /// 行程
        /// </summary>
        public DbSet<Music.Models.GuestTravel> music_guest_travel { get; set; }
        
        /// <summary>
        /// 邀请函编号
        /// </summary>
        public DbSet<Music.Models.InviteCodes> music_invite_codes { get; set; }
        
        /// <summary>
        /// 敏捷关键词库
        /// </summary>
        public DbSet<Music.Models.Keywords> music_keywords { get; set; }
        
        /// <summary>
        /// 多语言
        /// </summary>
        public DbSet<Music.Models.Language> music_language { get; set; }
        
        /// <summary>
        /// 日志
        /// </summary>
        public DbSet<Music.Models.Logs> music_logs { get; set; }
        
        /// <summary>
        /// 日志类别表
        /// </summary>
        public DbSet<Music.Models.LogTypes> music_log_types { get; set; }
        
        /// <summary>
        /// 分会论坛
        /// </summary>
        public DbSet<Music.Models.Meetings> music_meetings { get; set; }
        
        /// <summary>
        /// 届数
        /// </summary>
        public DbSet<Music.Models.MeetingNum> music_meeting_num { get; set; }
        
        /// <summary>
        /// 论坛状态
        /// </summary>
        public DbSet<Music.Models.MeetingStatus> music_meeting_status { get; set; }
        
        /// <summary>
        /// 分会论坛类型
        /// </summary>
        public DbSet<Music.Models.MeetingTypes> music_meeting_types { get; set; }
        
        /// <summary>
        /// 会员
        /// </summary>
        public DbSet<Music.Models.Members> music_members { get; set; }
        
        /// <summary>
        /// 会员积分
        /// </summary>
        public DbSet<Music.Models.MemberPoints> music_member_points { get; set; }
        
        /// <summary>
        /// 会员类型
        /// </summary>
        public DbSet<Music.Models.MemberTypes> music_member_types { get; set; }
        
        /// <summary>
        /// 菜单
        /// </summary>
        public DbSet<Music.Models.Menus> music_menus { get; set; }
        
        /// <summary>
        /// 消息
        /// </summary>
        public DbSet<Music.Models.Messages> music_messages { get; set; }
        
        /// <summary>
        /// 消息类型
        /// </summary>
        public DbSet<Music.Models.MessageTypes> music_message_types { get; set; }
        
        /// <summary>
        /// 文章
        /// </summary>
        public DbSet<Music.Models.News> music_news { get; set; }
        
        /// <summary>
        /// 文章状态
        /// </summary>
        public DbSet<Music.Models.NewsStatus> music_news_status { get; set; }
        
        /// <summary>
        /// 分类
        /// </summary>
        public DbSet<Music.Models.NewsTypes> music_news_types { get; set; }
        
        /// <summary>
        /// 图片
        /// </summary>
        public DbSet<Music.Models.Photos> music_photos { get; set; }
        
        /// <summary>
        /// 分类
        /// </summary>
        public DbSet<Music.Models.PhotoTypes> music_photo_types { get; set; }
        
        /// <summary>
        /// 阅读记录表
        /// </summary>
        public DbSet<Music.Models.Reads> music_reads { get; set; }
        
        /// <summary>
        /// 审核意见
        /// </summary>
        public DbSet<Music.Models.Reviews> music_reviews { get; set; }
        
        /// <summary>
        /// 审批权限
        /// </summary>
        public DbSet<Music.Models.ReviewAuthority> music_review_authority { get; set; }
        
        /// <summary>
        /// 审批明细
        /// </summary>
        public DbSet<Music.Models.ReviewItems> music_review_items { get; set; }
        
        /// <summary>
        /// 审核状态
        /// </summary>
        public DbSet<Music.Models.ReviewStatus> music_review_status { get; set; }
        
        /// <summary>
        /// 基本信息
        /// </summary>
        public DbSet<Music.Models.SettingBase> music_setting_base { get; set; }
        
        /// <summary>
        /// 报到
        /// </summary>
        public DbSet<Music.Models.Sign> music_sign { get; set; }
        
        /// <summary>
        /// 短信
        /// </summary>
        public DbSet<Music.Models.Sms> music_sms { get; set; }
        
        /// <summary>
        /// 用户
        /// </summary>
        public DbSet<Music.Models.Users> music_users { get; set; }
        
        /// <summary>
        /// 角色
        /// </summary>
        public DbSet<Music.Models.UserRoles> music_user_roles { get; set; }
        
        /// <summary>
        /// 推广媒介
        /// </summary>
        public DbSet<Music.Models.UtmMedium> music_utm_medium { get; set; }
        
        /// <summary>
        /// 推广来源
        /// </summary>
        public DbSet<Music.Models.UtmSource> music_utm_source { get; set; }
        
        /// <summary>
        /// 认证
        /// </summary>
        public DbSet<Music.Models.Verify> music_verify { get; set; }
        
        /// <summary>
        /// 认证状态
        /// </summary>
        public DbSet<Music.Models.VerifyStatus> music_verify_status { get; set; }
        
        /// <summary>
        /// 访问来源
        /// </summary>
        public DbSet<Music.Models.Visit> music_visit { get; set; }

    }
}
